﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace iMKelly.CoreClass {
    public class UserInfo {
        private String userID;
        public String UserID {
            get { return userID; }
            set { userID = value; }
        }

        private String name;
        public String Name {
            get { return name; }
            set { name = value; }
        }

        private String address;
        public String Address {
            get { return address; }
            set { address = value; }
        }

        private String ssn;
        public String SSN {
            get { return ssn; }
            set { ssn = value; }
        }

        private String birthdate;
        public String BirthDate {
            get { return birthdate; }
            set { birthdate = value; }
        }

        private bool sex;
        public bool Sex {
            get { return sex; }
            set { sex = value; }
        }

        private int privilege;
        public int Privilege {
            get { return privilege; }
            set { privilege = value; }
        }
        public UserInfo(String id, String name, String ssn, String address, String birthdate, bool sex, int privilege) {
            UserID = id; Name = name; SSN = ssn; Address = address; BirthDate = birthdate;
            Sex = sex; Privilege = privilege;
        }
    }
}
